package com.woniu.smallmedical.mapper;

import com.woniu.smallmedical.entity.InventoryDetail;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface InventoryDetailMapper {

   void inserInventoryDetail(Integer idid, String number, Date date, String type,  Integer count, Double purchase, Double retail,Integer inid);

    List<InventoryDetail> selectBuinid(@Param("pageIndex") Integer pageIndex,
                                       @Param("pageSize") Integer pageSize,Integer inid);
    //查询所有条数
    int selectcount(Integer inid);
}
